package com.storify.annotation;

import java.lang.annotation.*;

@Target({ElementType.METHOD, ElementType.TYPE})//方法上或者类型上
@Retention(RetentionPolicy.RUNTIME)//运行时
@Documented
//@Mapping
public @interface LoginValidator {
    /**
     * 检验参数
     *
     */
    boolean validated() default true;

    boolean checkAdmin() default false;
}
